﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Resources;

namespace IssueIT.WebUI.Models
{
    public class NewProjectPostModel
    {

     
        [Required(ErrorMessageResourceName = "NewProject_Title_Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        
        public string Title { get; set; }

        [Required]
        [Display(Name = "Project url")] //, Name = "ProjectUri")]
        [Remote("ValidateProjectUri", "Admin", ErrorMessage = "Url er ikke ledig")]
        public string ProjectUri { get; set; }

        //public Guid ProjectManager { get; set; }
        //public 
    }
}